#ifndef SYSTEMTRAY_H
#define SYSTEMTRAY_H

#include <QObject>
#include <QSharedPointer>

class QSystemTrayIcon;
class SystemTrayInterface;
class QWidget;
class QTimer;

class SystemTrayHelper : public QObject
{
    Q_OBJECT
    static SystemTrayHelper &get();
public:
    SystemTrayHelper();

    void installSystemTray(QWidget *parent);

    QIcon getIconWithNum(int num);

    void startFlash();
    void stopFlash();
private:
    SystemTrayInterface *m_systemTray = nullptr;
    QWidget *m_parent = nullptr;
};

#endif // SYSTEMTRAY_H
